Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
ME Commands (ME Editor Commands.htm)
char A single character.
column A single value representing a column number.
count A single value representing a line count.
lineNumber Single value representing a line number or a period meaning the current line.
range A range of lines:
. (period) The current line only.
start-endLine start to line end inclusive.
start,count count lines starting with line start.
start,*Line start to the end of the item.
* The whole item.
/ String delimiter; any non-alphanumeric character except blank or period. Special meanings:
: Only strings starting in column one.
" Pattern match search.
` Search backwards.
RETURN Change to edit mode.
= Toggle case-sensitive/insensitive search.
? Display help.
?/ Display last / command.
?B Display browse status.
?I Display current filename and itemname.
?L Display last L command.
?R Display last R command.
?S Display item size.
?T Display time and date.
/stringLocate string string.
lineNumber Goto line lineNumber.
A{L} Repeat the last L command.
APrange/string{/}
Append string to line(s).
AR Repeat last R command.
B Move to bottom of item.
C{range}>{line} Copy source range to destination line.
CD{delimiter} Change/display delimiter character.
CI Select case-insensitive search.
CS Select case-sensitive search.
D{E}{range} Delete lines.
EX{K}{O} Exit without filing. If editing multiple items, the next item in the list is opened.
K Terminates a multiple item editing session. The next item in the list is not opened.
O Suppress the confirmation prompt that is displayed if the item has changed.
FD{K}{O} Delete item. If editing multiple items, the next item in the list is opened.
K Terminates a multiple item editing session. The next item in the list is not opened.
O Suppress the confirmation prompt that is displayed if the item has changed.
F{F} Redraw screen. If the terminal supports history pages, the screen is copied into the history.
FI{K}{O}{(fileName}{ itemName}
Save
item (optionally in file fileName, item itemName) and exit.
If editing multiple items, the next item in the list is opened.
K Terminates a multiple item editing session. The next item in the list is not opened.
O Overwrites an existing item with the same item-id. You only need to specify O if writing to another item or file (if writing to the current item and file, overwrite of any existing item is automatic).
FS{O}{(fileName}{ itemName}
Save item and continue editing.
O Overwrites an existing item with the same item-id. You only need to specify O if writing to another item or file (if writing to the current item and file, overwrite of any existing item is automatic).
GlineNumberGoto line lineNumber.
H Toggle hexadecimal mode.
HcolumnSet home position to the specified column (see HOME key).
I Toggle insert mode.
I{char}countInsert count lines. If char is specified, each line contains a single char character.
K{O} Release item lock.
O Suppress the confirmation prompt.
L{lineNumber}/string/{/{X}}
Locate string string starting at line lineNumber. X=don't enter edit.
LDlineNumberLabel destination line.
LE Locate next assembly error line.
M{range}>{lineNumber}
Move lines range to line lineNumber.
MCxApplies the specified MC conversion code to the current line or to the currently labelled source lines (selected with the LS command).
ME{(fileName}{ itemName}
View item itemName from file fileName.
Note that you cannot save any changes. Use the EX
command to return to the previous item.
MErange{(fileName}{ itemName}
Insert range lines from item itemName in file fileName.
The new lines are inserted below the current line.
MI{(fileName} View the item specified in the INCLUDE statement (if any) on the current line. By specifying a file name, you can view the item with the same name in a different file.
Note that you cannot save any changes. Use the EX command to return to the previous item.
N{count} Move down by count lines (default, 1).
O Object address display toggle.
OwidthSet object display width (bytes).
R{range}/string1/string2{/{option}}
Replace string string1 with string string2.
option
=
* Replace all.
count Replace count times.
? Query each.
null Enter edit.
else Don't enter edit.
RI{O} Reset item to original state and retry lock.
O Suppress the confirmation prompt.
RP{c} Repeat command line.
SCcolumnCount,{-upCount{,+downCount}}
Set
scrolling parameters; that is, the number of columns or lines to scroll when the
cursor is moved past the edge of the screen.
Notes
SP Toggles whether line numbers are displayed.
T Move to top of item.
TA{column,column,column}
Set the tab positions used in assembler mode (see AS
command).
TB{column{,column...}}
Set the tab positions used in normal mode (see AS
command).
TW Toggle display width between 80 and 132 columns.
U{count} Move up by count lines (default, 1).
W Toggles whether to wait for an item lock to be released, or to open the item in read-only ('browse') mode.
WcolumnScrolls the display horizontally so that column column is at the left-hand edge of the screen.
You can choose whether the /, L and R commands match strings in a case-sensitive or -insensitive way. For example, if you search for "FRED", this will match "Fred", "FRED" and "fred" if the search is case-insensitive but only "FRED" if it is case-sensitive. Whether searches are case-sensitive or -insensitive can be selected as follows:
Note that, if you are editing multiple items, the current setting is retained when you open a new item.
The command prompt depends on the mode: if case-sensitive, the command prompt
is >
; if case-insensitive, the command prompt is =
.
Note: Some of these keys and key combinations are only available if you are using a Prism terminal (or terminal emulation on RealLink) and TERM type 4.
BACKSPACE Left one character.
BACKTAB Previous tab position (Prism).
CLEAR Clear rest of line (Prism).
DEL/DELETE Delete character.
END End of line (PC).
ESC Exit edit mode (return to command mode).
INSERT Toggle insert mode (PC).
RETURN Move to home on the next line.
TAB Next tab position.
SHIFT+LEFT Word left.
SHIFT+RIGHT Word right.
SHIFT+UP Go to the top of the page. If already at the top, go to the top of the previous page (if any).
SHIFT+DOWN Go to the bottom of the page. If already at the top, go to the bottom of the previous page (if any).
SHIFT+HOME Clear rest of line (PC).
SHIFT+TAB Previous tab position (PC).
CTRL+LEFT Start of line.
CTRL+RIGHT End of line.
CTRL+UP Top of item.
CTRL+DOWN Bottom of item.
CTRL+C Copy line.
CTRL+D Delete character.
CTRL+E Move to end of line.
CTRL+K Delete line.
CTRL+N Next page.
CTRL+O Delete up to the next word.
CTRL+P Previous page.
CTRL+R Repeat locate.
CTRL+T Toggle insert mode.
CTRL+W Move to next word.
CTRL+X Undo changes to the current line. Note, however, that changes cannot be undone once you have moved to another line.
See also RI command.
CTRL+SHIFT+6 Splits the current line into two at the cursor position.
CTRL+SHIFT+- Concatenates the current line and the next line.